package mil.af.amc.adpetracker.service;

import mil.af.amc.adpetracker.model.DrmoPackage;
import mil.af.amc.adpetracker.model.EquipmentItem;
import mil.af.amc.adpetracker.model.AdpeAccount;

import java.util.List;
import java.util.Map;

/**
 * Please Fill in this Javadoc
 *
 * @author TSgt Jason Ferguson
 */

public interface DrmoPackageService {

    DrmoPackage createPackage(Map map) throws ServiceException;

    DrmoPackage editPackage(Map map) throws ServiceException;

    void addItemToPackage(DrmoPackage pkg, EquipmentItem item) throws ServiceException;

    //void removeItemFromPackage(DrmoPackage pkg, EquipmentItem item);

    void deletePackage(int drmoPackageId) throws ServiceException;

    void closePackage(int packageId);
    
    List<DrmoPackage> getAllByAdpeAccount(AdpeAccount adpeAccount);

    List<DrmoPackage> getPendingByAdpeAccount(AdpeAccount adpeAccount);

    int getPendingCountByAdpeAccount(AdpeAccount adpeAccount);

    public DrmoPackage getById(int id);

    public List<DrmoPackage> getAll();


}
